﻿using Coldairarrow.Entity.Base;
using Coldairarrow.Entity.DTO;
using Coldairarrow.Util;
using Coldairarrow.Util.ClassLibrary;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Base
{
    public partial interface IBase_UnitItemsBusiness
    {
        Task<PageResult<Base_UnitItems>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<List<Base_UnitItemsDTO>> GetDataListAsyncs(string GroupId);
        Task<List<Base_UnitItemsDTO>> GetDataListGroupAsync(string GroupId);
        Task<PageResult<Base_UnitItems>> GetDataGroupListAsync(PageInput<ConditionDTO> input, string GroupId);
        Task<Base_UnitItems> GetTheDataAsync(string id);
        Task AddDataAsync(Base_UnitItems data, RedisOptions _redisOptions);
        Task UpdateDataAsync(Base_UnitItems data, RedisOptions _redisOptions);
        Task DeleteDataAsync(List<string> ids);
    }
}